/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cas.dbaccess;

import com.cas.hibernate.entity.Appointment;
import com.cas.hibernate.entity.CasUser;
import com.cas.hibernate.entity.Country;
import com.cas.hibernate.entity.Doctor;
import com.cas.hibernate.entity.Patient;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author suraj
 */
public interface CASDBAccess {
    
    public List<Doctor> getAllDoctors();
    
    public Doctor getDoctor(String doctorId);
    
    public String saveDoctor(Doctor doctor);
    
    public String createDoctor(Doctor doctor);
    
    public void deleteDoctor(long string);
    
    public List<Patient> getAllPatients();
    
    public Patient getPatient(String patientId);
    
    public String savePatient(Patient patient);
    
    public String createPatient(Patient patient);
    
    public void deletePatient(long string);
    
    public List<Appointment> getAllAppointments();
    
    public List<Appointment> getAppointmentsForDoctor(Doctor doctor);
    
    public CasUser validateUser(CasUser user);
    
    public ArrayList<Country> getAllCountries();
        
}
